Skip to main content
Version: 5.1.1.0

Beckhoff ADS Writer

Description​

Beckhoff ADS Writer is used for writing variable values in Beckhoff TwinCAT using ADS protocol.

note

For using Beckhoff ADS channels you need to put the AdsToJava-3.dll in a folder and start the Orchestra applications with this argument -Djava.library.path=<Path to the DLL folder> .

Creation​

To create an Beckhoff ADS Writer, follow the steps described in the general description of Channels.

Configuration​

The dialog to configure the Beckhoff ADS Writer looks like:

ads_writer_view.png
Base view of the Beckhoff ADS Listener

Beckhoff ADS Connection is the only property you need to configure the Beckhoff ADS Writer.

Input Message​

The channel expects following message type to write a value to a variable in TwinCAT.

ads_writer_messagetype.png
Message type for Beckhoff ADS Writer
  • value that should be written
  • variable: <class name>.<variable name> as attribute of the value
  • dataType: data type of the variable as attribute of the value. As data type name, all type names found in the TwinCAT can be used here.

Example

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<AdsWriteRequest>
<value variable="MAIN.stringVar" dataType="STRING">Hello World!</value>
</AdsWriteRequest>